<!-- area -->
<template>
  <div>
    <HeaderTab>
      <template #left>
        <el-form :inline="true" label-position="top" :model="formDate">
          <el-form-item label="仓库名称" prop="like_code">
            <el-input v-model="formDate.name" placeholder="请输入" />
          </el-form-item>
          <el-form-item label="库区名称" prop="like_name">
            <el-input v-model="formDate.warehouseName" placeholder="请输入" />
          </el-form-item>
          <el-form-item label="仓库状态" prop="lstatus">
            <el-select v-model="formDate.status" placeholder="请选择">
              <el-option v-for="item in statusList" :key="item.id" :label="item.name" :value="item.id" />
            </el-select>
          </el-form-item>
        </el-form>
      </template>
    </HeaderTab>
  </div>
</template>

<script>
import HeaderTab from '@/components/HeaderTab'
export default {
  components: {
    HeaderTab
  },
  data() {
    return {
      formDate: {
        warehouseName: '',
        name: '',
        status: ''
      },
      statusList: [
        {
          id: 0,
          name: '停用'
        },
        {
          id: 1,
          name: '启用'
        },
        {
          id: 2,
          name: '全部'
        }
      ]
    }
  }
}

</script>
<style lang='less' scoped>
</style>
